﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace WpfAGVSystem.Migrations
{
    public partial class init11 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "UnpackingAre_Entity",
                columns: table => new
                {
                    Id = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    Devid = table.Column<int>(type: "int", nullable: false),
                    Station = table.Column<int>(type: "int", nullable: false),
                    PreStation = table.Column<int>(type: "int", nullable: false),
                    BackStation = table.Column<int>(type: "int", nullable: false),
                    GetAre = table.Column<int>(type: "int", nullable: false),
                    PutAre = table.Column<int>(type: "int", nullable: false),
                    Flow = table.Column<int>(type: "int", nullable: false),
                    IsEnable = table.Column<bool>(type: "bit", nullable: false),
                    GetHeight = table.Column<float>(type: "real", nullable: false),
                    PutHeight = table.Column<float>(type: "real", nullable: false),
                    LoadFullTask = table.Column<int>(type: "int", nullable: false),
                    WindFullTask = table.Column<int>(type: "int", nullable: false),
                    IsCK = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_UnpackingAre_Entity", x => x.Id);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "UnpackingAre_Entity");
        }
    }
}
